export default [
  // {
  //   path: '/',
  //   name: 'login',
  //   meta: {
  //     index: 0
  //   },
  //   component: () => import('@/views/login/login.vue')
  // },
  { path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'home',
    meta: {
      keepAlive: true,
      index: 0,
      title: '知运-知识改变命运'
    },
    component: () => import('@/views/home/home.vue')
  },
  // {
  //   path: '/demo',
  //   name: 'demo',
  //   meta: {
  //     index: 0,
  //     title: '知运-知识改变命运'
  //   },
  //   component: () => import('@/views/demo/demo.vue')
  // },
  {
    path: '/xieyi',
    name: 'xieyi',
    meta: {
      index: 0,
      title: '知运-知识改变命运'
    },
    component: () => import('@/views/xieyi/xieyi.vue')
  },
  // {
  //   path: '/home',
  //   name: 'home',
  //   meta: {
  //     index: 0,
  //     title: '知运-知识改变命运'
  //   },
  //   component: () => import('@/views/home/home.vue')
  // },
  {
    path: '/information',
    name: 'information',
    meta: {
      title: '分类精选',
      index: 0
    },
    component: () => import('@/views/information/information.vue')
  },
  {
    path: '/coursedetails',
    name: 'coursedetails',
    meta: {
      index: 1,
      title: ''
    },
    component: () => import('@/views/coursedetails/coursedetails.vue')
  },
  {
    path: '/activity',
    name: 'activity',
    meta: {
      index: 1,
      title: ''
    },
    component: () => import('@/views/coursedetails/activity.vue')
  },
  {
    path: '/mycourse',
    name: 'mycourse',
    meta: {
      index: 0,
      title: '我的课程'
    },
    component: () => import('@/views/mycourse/mycourse.vue')
  },
  {
    path: '/assemble',
    name: 'assemble',
    meta: {
      index: 0,
      title: '拼团列表'
    },
    component: () => import('@/views/assemble/assemble.vue')
  },
  {
    path: '/assembledetails',
    name: 'assembledetails',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/assembledetails/assembledetails.vue')
  },
  {
    path: '/grouppushing',
    name: 'grouppushing',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/assemble/grouppushing.vue')
  },
  {
    path: '/limitedtimelist',
    name: 'limitedtimelist',
    meta: {
      index: 0,
      title: '限时列表'
    },
    component: () => import('@/views/timelimiteddiscount/limitedtimelist.vue')
  },
  {
    path: '/timelimiteddiscount',
    name: 'timelimiteddiscount',
    meta: {
      index: 0,
      title: '' // 限时详情
    },
    component: () =>
      import('@/views/timelimiteddiscount/timelimiteddiscount.vue')
  },
  {
    path: '/teacher',
    name: 'teacher',
    meta: {
      index: 0,
      title: '' // 老师
    },
    component: () => import('@/views/teacher/teacher.vue')
  },
  {
    path: '/teacher_follow',
    name: 'teacher_follow',
    meta: {
      index: 0,
      title: '关注教师'
    },
    component: () => import('@/views/teacher/teacher_follow.vue')
  },
  {
    path: '/co_search',
    name: 'co_search',
    meta: {
      index: 0,
      title: '搜索'
    },
    component: () => import('@/views/search/co_search.vue')
  },
  {
    path: '/co_result',
    name: 'co_result',
    meta: {
      index: 0,
      title: '搜索'
    },
    component: () => import('@/views/search/co_result.vue')
  },
  {
    path: '/comment',
    name: 'comment',
    meta: {
      index: 0
    },
    component: () => import('@/views/Center/comment.vue')
  },
  {
    path: '/comment_list',
    name: 'comment_list',
    meta: {
      index: 0,
      title: '评价'
    },
    component: () => import('@/views/Center/comment_list.vue')
  },
  {
    path: '/co_video', // 视频
    name: 'co_video',
    meta: {
      title: '',
      index: 0
    },
    component: () => import('@/views/curriculum/co_video')
  },
  {
    path: '/videopage', // 视频
    name: 'videopage',
    meta: {
      title: '',
      index: 0
    },
    component: () => import('@/views/curriculum/videopage')
  },
  {
    path: '/co_audio', // 音频
    name: 'co_audio',
    meta: {
      title: '',
      index: 0
    },
    component: () => import('@/views/curriculum/co_audio')
  },
  {
    path: '/co_text', // 图文
    name: 'co_text',
    meta: {
      title: '',
      index: 0
    },
    component: () => import('@/views/curriculum/co_text')
  },
  {
    path: '/give', // 赠送页面
    name: 'give',
    title: '',
    meta: {
      index: 0
    },
    component: () => import('@/views/give/give')
  },
  {
    path: '/center',
    name: 'center',
    meta: {
      title: '个人中心',
      index: 0
    },
    component: () => import('@/views/personalCenter/center')
  },
  {
    path: '/promot',
    name: 'promot',
    meta: {
      title: '推广中心',
      index: 0
    },
    component: () => import('@/views/Center/promot')
  },
  {
    path: '/co_Feedback',
    name: 'co_Feedback',
    meta: {
      title: '意见反馈',
      index: 0
    },
    component: () => import('@/views/Center/co_Feedback')
  },
  {
    path: '/co_Collection',
    name: 'co_Collection',
    meta: {
      title: '课程收藏',
      index: 0
    },
    component: () => import('@/views/Center/co_Collection')
  },
  {
    path: '/co_wallet',
    name: 'co_wallet',
    meta: {
      title: '我的钱包',
      index: 0
    },
    component: () => import('@/views/Center/co_wallet')
  },
  {
    path: '/bankcard',
    name: 'bankcard',
    meta: {
      title: '银行卡',
      index: 0
    },
    component: () => import('@/views/Center/yinhangka')
  },
  {
    path: '/co_Coupon',
    name: 'co_Coupon',
    meta: {
      title: '优惠券',
      index: 0
    },
    component: () => import('@/views/Center/co_Coupon')
  },
  {
    path: '/co_purchase',
    name: 'co_purchase',
    meta: {
      title: '购买记录',
      index: 0
    },
    component: () => import('@/views/Center/co_purchase')
  },
  {
    path: '/co_wallet_curriculum',
    name: 'co_wallet_curriculum',
    meta: {
      title: '课程收益',
      index: 0
    },
    component: () => import('@/views/Center/co_wallet_curriculum')
  },
  {
    path: '/co_wallet_Cash',
    name: 'co_wallet_Cash',
    meta: {
      title: '提现记录',
      index: 0
    },
    component: () => import('@/views/Center/co_wallet_Cash')
  },
  {
    path: '/co_wallet_Extension',
    name: 'co_wallet_Extension',
    meta: {
      title: '收益明细',
      index: 0
    },
    component: () => import('@/views/Center/co_wallet_Extension')
  },
  {
    path: '/co_canvasimg',
    name: 'co_canvasimg',
    meta: {
      title: '推广名片',
      index: 0
    },
    component: () => import('@/views/Center/co_canvasimg')
  },
  {
    path: '/co_withdrawal',
    name: 'co_withdrawal',
    meta: {
      title: '我要提现',
      index: 0
    },
    component: () => import('@/views/Center/co_withdrawal')
  },
  {
    path: '/help',
    name: 'help',
    meta: {
      title: '帮助',
      index: 0
    },
    component: () => import('@/views/help/help.vue'),
    children: [
      {
        path: 'helps',
        name: 'helps',
        meta: {
          title: '帮助',
          index: 0
        },
        component: () => import('@/views/helpsenter/helpsenter.vue')
      },
      {
        path: 'helpin',
        name: 'helpin',
        meta: {
          title: '帮助分类',
          index: 0
        },
        component: () => import('@/views/helpsenterin/helpsenterin.vue')
      }
    ]
  },
  // {
  //   path: '/helpin',
  //   name: 'helpin',
  //   meta: {
  //     index: 0
  //   },
  //   component: () => import('@/views/helpsenterin/helpsenterin.vue')
  // },
  {
    path: '/vip',
    name: 'vip',
    meta: {
      index: 0,
      title: '会员卡'
    },
    component: () => import('@/views/vip/vip')
  },
  {
    path: '/posters1',
    name: 'posters',
    meta: {
      index: 0,
      title: '推广海报'
    },
    component: () => import('@/views/Center/posters')
  },
  {
    path: '/posters',
    name: 'posters1',
    meta: {
      index: 0,
      title: '推广海报'
    },
    component: () => import('@/views/Center/posters1')
  },
  {
    path: '/partner',
    name: 'partner',
    meta: {
      index: 0,
      title: '合伙人'
    },
    component: () => import('@/views/Center/partner')
  },
  {
    path: '/secretary',
    name: 'secretary',
    meta: {
      index: 0,
      title: '推广秘书'
    },
    component: () => import('@/views/Center/secretary')
  },
  {
    path: '/modify',
    name: 'modify',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/Center/modify')
  },
  {
    path: '/hobbytype',
    name: 'hobbytype',
    meta: {
      index: 0,
      title: '学习偏好'
    },
    component: () => import('@/views/Center/hobbytype')
  },
  {
    path: '/shouyimingxi',
    name: 'shouyimingxi',
    meta: {
      index: 0,
      title: '提现记录'
    },
    component: () => import('@/views/Center/shouyimingxi')
  },
  {
    path: '/teacherlook',
    name: 'teacherlook',
    meta: {
      index: 0,
      title: '成为讲师'
    },
    component: () => import('@/views/teacherForm/teacherlook.vue')
  },
  {
    path: '/teacherForm',
    name: 'teacherForm',
    meta: {
      index: 0,
      title: '成为讲师'
    },
    component: () => import('@/views/teacherForm/teacherForm.vue')
  },
  {
    path: '/footprint',
    name: 'footprint',
    meta: {
      index: 0,
      title: '我的足迹'
    },
    component: () => import('@/views/Center/footprint.vue')
  },
  {
    path: '/danzhangxiangqing',
    name: 'danzhangxiangqing',
    meta: {
      index: 0,
      title: '章节详情'
    },
    component: () => import('@/views/coursedetails/danzhangxiangqing.vue')
  },
  {
    path: '/coursedetails1',
    name: 'coursedetails1',
    meta: {
      index: 0,
      title: '课程详情'
    },
    component: () => import('@/views/coursedetails/coursedetails1.vue')
  },
  {
    path: '/mingxi',
    name: 'mingxi',
    meta: {
      index: 0,
      title: '收益'
    },
    component: () => import('@/views/shouyi/shouyi.vue')
  },
  {
    path: '/xiazai',
    name: 'xiazai',
    meta: {
      index: 0,
      title: '下载'
    },
    component: () => import('@/views/xiazai/xiazai.vue')
  },
  {
    path: '/pintuanlist',
    name: 'pintuanlist',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/Center/pintuanlist.vue')
  },
  {
    path: '/other',
    name: 'other',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/other/otherlist.vue')
  },
  {
    path: '/co_Feedbackitem',
    name: 'co_Feedbackitem',
    meta: {
      index: 0,
      title: ''
    },
    component: () => import('@/views/Center/co_Feedbackitem.vue')
  }

  // {
  //   path: '/two',
  //   name: 'two',
  //   meta: {
  //     index: 0
  //   },
  //   component: () => import('@/views/information/two.vue')
  // }
]
// withdrawal
